
    <!--<h2 data-translate="settings.title" translate-values="{username: '{{vm.set.settingsAccount.login}}'}">User settings for [<b>{{vm.settingsAccount.login}}</b>]</h2>-->



    <form name="form" role="form" novalidate ng-submit="vm.set.save()" show-validation>
        <div class="alert alert-success" ng-show="vm.set.success" data-translate="settings.messages.success">
            <strong>Settings saved!</strong>
        </div>

        <jhi-alert-error></jhi-alert-error>
        <div class="modal-body">
            <div class="form-group">
                <label class="control-label" for="name" data-translate="settings.form.name">Last Name</label>
                <input type="text" class="form-control" id="name" name="name" placeholder="{{'settings.form.name.placeholder' | translate}}"
                       ng-model="vm.set.settingsAccount.name" ng-minlength=1 ng-maxlength=50 required maxlength="50">
                <div ng-show="form.name.$dirty && form.name.$invalid">
                    <p class="help-block"
                       ng-show="form.name.$error.required" data-translate="settings.messages.validate.name.required">
                        Your last name is required.
                    </p>
                    <p class="help-block"
                       ng-show="form.name.$error.minlength" data-translate="settings.messages.validate.name.minlength">
                        Your last name is required to be at least 1 character.
                    </p>
                    <p class="help-block"
                       ng-show="form.name.$error.maxlength" data-translate="settings.messages.validate.name.maxlength">
                        Your last name cannot be longer than 50 characters.
                    </p>
                </div>
            </div>
            <div class="form-group row">
                <label class="control-label col-sm-3" for="email" data-translate="global.form.email">E-mail</label>
                <input type="email" class="form-control col-sm-9" id="email" name="email" placeholder="{{'global.form.email.placeholder' | translate}}"
                       ng-model="vm.set.settingsAccount.email" ng-minlength=5 ng-maxlength=100 required maxlength="100">
                <div ng-show="form.email.$dirty && form.email.$invalid">
                    <p class="help-block"
                       ng-show="form.email.$error.required" data-translate="global.messages.validate.email.required">
                        Your e-mail is required.
                    </p>
                    <p class="help-block"
                       ng-show="form.email.$error.email" data-translate="global.messages.validate.email.invalid">
                        Your e-mail is invalid.
                    </p>
                    <p class="help-block"
                       ng-show="form.email.$error.minlength" data-translate="global.messages.validate.email.minlength">
                        Your e-mail is required to be at least 5 characters.
                    </p>
                    <p class="help-block"
                       ng-show="form.email.$error.maxlength" data-translate="global.messages.validate.email.maxlength">
                        Your e-mail cannot be longer than 100 characters.
                    </p>
                </div>
            </div>
        </div>
        <!-- <div class="form-group">
             <label for="langKey" data-translate="settings.form.language">Language</label>
             <select id="langKey" name="langKey" class="form-control" ng-model="vm.set.settingsAccount.langKey" ng-controller="JhiLanguageController as languageVm" ng-options="code as (code | findLanguageFromKey) for code in languageVm.languages"></select>
         </div>-->
        <div class="modal-footer">
            <button type="submit" ng-disabled="form.$invalid" class="btn btn-normal btn-success" data-translate="settings.form.button">Save</button>
        </div>
    </form>





